#include "IrControl.h"
#include "Utility.h"
#include "Menu/MenuSystem.h"

static int		_iID = IR_TEST_MAIN;

/****************************************************************************/

void ir_Input(int iKey)
{
	
		// dispatch to owner
		switch( _iID )
		{
		case IR_TEST_MAIN:
			TestMainInput(iKey);
			break;
		case IR_TEST_COLOR:
			TestColorInput(iKey);
			break;
		case IR_TEST_SOUND:
			TestSoundInput(iKey);
			break;
		case IR_TEST_TOUCH:
			TestTouchInput(iKey);
			break;
		case IR_TEST_VERSION:
			DispVerInput(iKey);
			break;
		}
		
	
}

void ir_SetCurrentID(int iID)
{
	_iID = iID;
}

int	ir_GetCurrentID()
{
	return _iID;
}
